<T:ViewBase x:Class="WPFExcelReport.TQGUETEKL02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"  
                    Loaded="Window_Loaded"
     >
    <T:ViewBase.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:TIMES100  x:Key="X100"/>
        <ucd:TIMES10  x:Key="X10"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>  
    </T:ViewBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
        <WrapPanel>
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=QGKMANDANT:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQGUETEKL.QGKMANDANT}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=QGKGKREGEL:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQGUETEKL.QGKGKREGEL}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=QGKGUETEKL:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQGUETEKL.QGKGUETEKL}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=QGKAENZL:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQGUETEKL.QGKAENZL}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=QGKAENB:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQGUETEKL.QGKAENB}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=QGKAEND:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQGUETEKL.QGKAEND}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=QGKNEUB:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQGUETEKL.QGKNEUB}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=QGKNEUD:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQGUETEKL.QGKNEUD}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=QGKBEZ:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQGUETEKL.QGKBEZ}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=QGKSTATUS:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQGUETEKL.QGKSTATUS}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=QGKZENSUR:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQGUETEKL.QGKZENSUR}" Width="Auto" />
            </Grid> 
        </WrapPanel>
        <WrapPanel Visibility="{Binding IsQGUETEKL,Converter={StaticResource ResourceKey=bv}}">
                <ex:TBASE1></ex:TBASE1>
            </WrapPanel>
        </StackPanel>
        <DataGrid  Grid.Row="1"  VerticalAlignment="Top"  
                                   AutoGenerateColumns="False"
                                   EnableRowVirtualization="False"
                                   VerticalScrollBarVisibility="Auto"
                                   HorizontalScrollBarVisibility="Auto"
                                   HeadersVisibility="Column"     
                                   ItemsSource="{Binding vwQGUETEKL}"  
                                    IsSynchronizedWithCurrentItem="True"
                                   SelectedItem="{Binding Path=dwQGUETEKL, Mode=TwoWay}"
                                   x:Name="dlgVKP"  
                                   RowDetailsVisibilityMode="Visible" Grid.ColumnSpan="2" Margin="0,0.2,0.2,0"
                    >
            <DataGrid.Columns> 
                <DataGridTextColumn x:Name="QGKMANDANT"
                                    Binding="{Binding Path=QGKMANDANT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKMANDANT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKGKREGEL"
                                    Binding="{Binding Path=QGKGKREGEL, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKGKREGEL}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKGUETEKL"
                                    Binding="{Binding Path=QGKGUETEKL, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKGUETEKL}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKAENZL"
                                    Binding="{Binding Path=QGKAENZL, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKAENZL}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKAENB"
                                    Binding="{Binding Path=QGKAENB, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKAENB}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKAEND"
                                    Binding="{Binding Path=QGKAEND, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKAEND}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKNEUB"
                                    Binding="{Binding Path=QGKNEUB, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKNEUB}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKNEUD"
                                    Binding="{Binding Path=QGKNEUD, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKNEUD}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKBEZ"
                                    Binding="{Binding Path=QGKBEZ, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKBEZ}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKSTATUS"
                                    Binding="{Binding Path=QGKSTATUS, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKSTATUS}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKZENSUR"
                                    Binding="{Binding Path=QGKZENSUR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKZENSUR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKRUECKENF"
                                    Binding="{Binding Path=QGKRUECKENF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKRUECKENF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKMTR"
                                    Binding="{Binding Path=QGKMTR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKMTR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKVONMTR"
                                    Binding="{Binding Path=QGKVONMTR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKVONMTR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKBISMTR"
                                    Binding="{Binding Path=QGKBISMTR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKBISMTR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKBRT"
                                    Binding="{Binding Path=QGKBRT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKBRT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKVONBRT"
                                    Binding="{Binding Path=QGKVONBRT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKVONBRT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKBISBRT"
                                    Binding="{Binding Path=QGKBISBRT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKBISBRT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKSCHAUUMF1"
                                    Binding="{Binding Path=QGKSCHAUUMF1, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKSCHAUUMF1}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKSCHAUUMF2"
                                    Binding="{Binding Path=QGKSCHAUUMF2, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKSCHAUUMF2}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKZONENERF"
                                    Binding="{Binding Path=QGKZONENERF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKZONENERF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKMAXANZN"
                                    Binding="{Binding Path=QGKMAXANZN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKMAXANZN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKMAXANZA"
                                    Binding="{Binding Path=QGKMAXANZA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKMAXANZA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKMINLGA"
                                    Binding="{Binding Path=QGKMINLGA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKMINLGA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKABSCHNERL"
                                    Binding="{Binding Path=QGKABSCHNERL, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKABSCHNERL}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKSCHNVGUET"
                                    Binding="{Binding Path=QGKSCHNVGUET, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKSCHNVGUET}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKMINABSTR"
                                    Binding="{Binding Path=QGKMINABSTR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKMINABSTR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKMINABSTF"
                                    Binding="{Binding Path=QGKMINABSTF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKMINABSTF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKBISPKTF"
                                    Binding="{Binding Path=QGKBISPKTF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKBISPKTF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKBISSTRKF"
                                    Binding="{Binding Path=QGKBISSTRKF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKBISSTRKF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKBISFPKT"
                                    Binding="{Binding Path=QGKBISFPKT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKBISFPKT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKMINABSTSCH"
                                    Binding="{Binding Path=QGKMINABSTSCH, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKMINABSTSCH}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKSTKANF"
                                    Binding="{Binding Path=QGKSTKANF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKSTKANF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKSTKENDE"
                                    Binding="{Binding Path=QGKSTKENDE, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKSTKENDE}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKABSCHNANF"
                                    Binding="{Binding Path=QGKABSCHNANF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKABSCHNANF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKABSCHNENDE"
                                    Binding="{Binding Path=QGKABSCHNENDE, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKABSCHNENDE}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKMARK"
                                    Binding="{Binding Path=QGKMARK, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKMARK}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKRNVGFPKT"
                                    Binding="{Binding Path=QGKRNVGFPKT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKRNVGFPKT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKETKTYP"
                                    Binding="{Binding Path=QGKETKTYP, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKETKTYP}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKAUFM"
                                    Binding="{Binding Path=QGKAUFM, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKAUFM}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKVPACK"
                                    Binding="{Binding Path=QGKVPACK, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKVPACK}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKFVGUET"
                                    Binding="{Binding Path=QGKFVGUET, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKFVGUET}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKMSCHNTOL"
                                    Binding="{Binding Path=QGKMSCHNTOL, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKMSCHNTOL}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="QGKFILLER"
                                    Binding="{Binding Path=QGKFILLER, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=QGKFILLER}}"
                                    Width="Auto" />
            </DataGrid.Columns>
        </DataGrid  >
    </Grid>
</T:ViewBase> 
 
